package tr.edu.metu.is550.isell.domain;

import javax.persistence.Basic;
import javax.persistence.Embeddable;

@Embeddable
public class GeoLocation {

    public GeoLocation() {
    }

    public GeoLocation(Double latitude, Double longitude) {
        this.latitude = latitude;
        this.longitude = longitude;
    }

    @Basic
    private Double latitude;
    @Basic
    private Double longitude;

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }
}
